#include "stdafx.h"
#include <vector>
#include <stdio.h>
using namespace System;
using namespace System::IO;
using namespace System::Runtime::InteropServices;
using namespace std;


struct Programa
{
char rotulo[4]; 
char instrucao[8];
char atributo1[4];
char atributo2[4];

};


typedef Programa Programa_T ;

struct rotuloElinha
{
char rotulo[4]; 
int linha;
};
//
typedef rotuloElinha rotuloElinha_T;
//
struct TabelaDerotuloElinha
{
	vector <rotuloElinha_T> vertorDeRotulos;
	int a;
};



int MDV(Programa_T P,vector <int> &M,int i,int * s);
vector <Programa_T> leCodigo( vector <Programa_T> meuPrograma,String^ fileName);
int achaIndiceLabel( vector <Programa_T> meuPrograma,char label[]);
int achaIndiceLabel( vector <rotuloElinha_T> meuPrograma,char label[]);
vector <Programa_T> corrigeLabel( vector <Programa_T> meuPrograma,vector <rotuloElinha_T> &tabelaDeRotulos,int * status);
int contaLinha(String^ fileName);


vector <int > * GetpointToMyVectorOfReturnValues();
void  SetpointToMyVectorOfReturnValues(vector <int > * MypointToMyVectorOfReturnValues);
